package com.woniuxy.book87.service;

import com.woniuxy.book87.entity.BookType;
import com.woniuxy.book87.mapper.BookTypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookTypeService {

    @Autowired
    BookTypeMapper bookTypeMapper ;

    public List<BookType> findAll() {
        return bookTypeMapper.selectAll();
    }
}
